package com.vcaresolution.logistic.form;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.NotEmpty;

import com.vcaresolution.logistic.pojo.Container;

public class ContainerForm extends Container{

	private static final long serialVersionUID = 1L;
	
	@NotNull
	private Integer onboardvesselid;
	
	@NotNull
	private Integer podid;
	
	@NotNull
	private Integer pfdid;
	
	@NotNull
	private Integer polid;
	
	private Integer userid;

	@Override
	@NotEmpty
	public String getContainerno() {
		return super.getContainerno();
	}
	
	public Integer getOnboardvesselid() {
		return onboardvesselid;
	}

	public void setOnboardvesselid(Integer onboardvesselid) {
		this.onboardvesselid = onboardvesselid;
	}

	public Integer getPodid() {
		return podid;
	}

	public void setPodid(Integer podid) {
		this.podid = podid;
	}

	public Integer getPfdid() {
		return pfdid;
	}

	public void setPfdid(Integer pfdid) {
		this.pfdid = pfdid;
	}

	public Integer getPolid() {
		return polid;
	}

	public void setPolid(Integer polid) {
		this.polid = polid;
	}

	public Integer getUserid() {
		return userid;
	}

	public void setUserid(Integer userid) {
		this.userid = userid;
	}
	
}
